Skip to main content

Obfuscation rules

Obfuscation must be configured with the following rules to ensure proper functionality:

-keepattributes Signature, *Annotation*
-keep class com.devexperts.qd.** { *; }
-keep class com.dxfeed.api.impl.** { *; }
-keep class com.dxfeed.event.candle.** { *; }
-keep class com.dxfeed.event.market.** { *; }
-keep class com.google.gson.** { *; }
-keep class com.devexperts.dxcharts.lib.domain.** { *; }
-keep class com.devexperts.dxcharts.lib.data.repo.** { *; }
-keep class com.devexperts.dxcharts.lib.data.model.** { *; }
-keep class com.devexperts.dxcharts.provider.** { *; }
-dontwarn java.lang.management.ManagementFactory
-dontwarn java.rmi.RemoteException
-dontwarn javax.management.AttributeNotFoundException
-dontwarn javax.management.DynamicMBean
-dontwarn javax.management.InstanceAlreadyExistsException
-dontwarn javax.management.JMException
-dontwarn javax.management.MBeanAttributeInfo
-dontwarn javax.management.MBeanConstructorInfo
-dontwarn javax.management.MBeanException
-dontwarn javax.management.MBeanInfo
-dontwarn javax.management.MBeanNotificationInfo
-dontwarn javax.management.MBeanOperationInfo
-dontwarn javax.management.MBeanParameterInfo
-dontwarn javax.management.MBeanServer
-dontwarn javax.management.ObjectInstance
-dontwarn javax.management.ObjectName
-dontwarn javax.management.ReflectionException
-dontwarn javax.management.StandardMBean
-dontwarn javax.xml.bind.annotation.XmlElement
-dontwarn javax.xml.bind.annotation.XmlNsForm
-dontwarn javax.xml.bind.annotation.XmlRootElement
-dontwarn javax.xml.bind.annotation.XmlSchema
-dontwarn javax.xml.bind.annotation.XmlSchemaType
-dontwarn javax.xml.bind.annotation.XmlTransient
-dontwarn javax.xml.bind.annotation.XmlType
-dontwarn javax.xml.bind.annotation.adapters.XmlAdapter
-dontwarn javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter
-dontwarn javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters
-dontwarn kotlinx.datetime.Clock$System
-dontwarn kotlinx.datetime.Instant
-dontwarn org.apache.log4j.Appender
-dontwarn org.apache.log4j.Category
-dontwarn org.apache.log4j.ConsoleAppender
-dontwarn org.apache.log4j.Layout
-dontwarn org.apache.log4j.Priority
-dontwarn org.apache.log4j.RollingFileAppender
-dontwarn org.apache.log4j.spi.LoggingEvent
-dontwarn org.apache.logging.log4j.Level
-dontwarn org.apache.logging.log4j.LogManager
-dontwarn org.apache.logging.log4j.Logger
-dontwarn org.apache.logging.log4j.Marker
-dontwarn org.apache.logging.log4j.core.Appender
-dontwarn org.apache.logging.log4j.core.Filter$Result
-dontwarn org.apache.logging.log4j.core.Filter
-dontwarn org.apache.logging.log4j.core.Layout
-dontwarn org.apache.logging.log4j.core.LogEvent
-dontwarn org.apache.logging.log4j.core.Logger
-dontwarn org.apache.logging.log4j.core.LoggerContext
-dontwarn org.apache.logging.log4j.core.appender.AbstractAppender$Builder
-dontwarn org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender$Builder
-dontwarn org.apache.logging.log4j.core.appender.ConsoleAppender$Builder
-dontwarn org.apache.logging.log4j.core.appender.ConsoleAppender$Target
-dontwarn org.apache.logging.log4j.core.appender.ConsoleAppender
-dontwarn org.apache.logging.log4j.core.appender.RollingFileAppender$Builder
-dontwarn org.apache.logging.log4j.core.appender.RollingFileAppender
-dontwarn org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
-dontwarn org.apache.logging.log4j.core.appender.rolling.TriggeringPolicy
-dontwarn org.apache.logging.log4j.core.config.Configuration
-dontwarn org.apache.logging.log4j.core.config.ConfigurationSource
-dontwarn org.apache.logging.log4j.core.config.DefaultConfiguration
-dontwarn org.apache.logging.log4j.core.config.LoggerConfig
-dontwarn org.apache.logging.log4j.core.config.NullConfiguration
-dontwarn org.apache.logging.log4j.core.config.plugins.Plugin
-dontwarn org.apache.logging.log4j.core.config.plugins.PluginConfiguration
-dontwarn org.apache.logging.log4j.core.config.plugins.PluginFactory
-dontwarn org.apache.logging.log4j.core.filter.ThresholdFilter
-dontwarn org.apache.logging.log4j.core.layout.AbstractStringLayout$Serializer
-dontwarn org.apache.logging.log4j.core.layout.AbstractStringLayout
-dontwarn org.apache.logging.log4j.core.pattern.MessagePatternConverter
-dontwarn org.apache.logging.log4j.message.Message
-dontwarn org.apache.logging.log4j.message.SimpleMessage
-dontwarn org.apache.logging.log4j.spi.LoggerContext
-dontwarn org.apache.logging.log4j.status.StatusLogger